/*
 *  appImp.h
 *  mini
 *
 *  Created by jin on 1/1/11.
 *  Copyright 2011 cs. All rights reserved.
 *
 */

#ifndef INCLUDED_APP_IMP_BASE_H
#define INCLUDED_APP_IMP_BASE_H

class AppBase;

class AppImpBase
{
public:
    explicit AppImpBase(AppBase* owner_);
    virtual ~AppImpBase();

    virtual void Run() = 0;
    virtual bool OnInit();
protected:
    AppBase* owner; // weak_ptr
};

#endif
